﻿namespace EyeOpen.Web.Security
{
    using System.Web.Security;
    using EyeOpen.SecurityService;

    public class FormsAuthenticationMembershipProvider : FakeMembershipProvider, IMembershipSecurityService
    {
        public override bool ValidateUser(string username, string password)
        {
            return FormsAuthentication.Authenticate(username, password);
        }

        public bool IsValidUser(string username, string passwordHash)
        {
            return this.ValidateUser(username, passwordHash);
        }
    } 
}
